package com.group01.community.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.group01.community.entity.ZyOwner;
import com.group01.community.entity.ZyVisitor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 访客邀请  服务类
 * </p>
 *
 * @author iuoly
 * @since 2022-07-04
 */
public interface ZyVisitorService extends IService<ZyVisitor> {

    /**
     * 分页加条件查询
     * @param current
     * @param size
     * @param zyVisitor
     * @return
     */
    IPage<ZyVisitor> selectAllByCommunityName(Long current, Long size,ZyVisitor zyVisitor);

    List<ZyVisitor> selectZyVisitor();

}
